<template>
  <div class="col-md-8">
    <h3 class="reply">评论回复：</h3>
    <h2 v-show="comments.length==0">暂无评论，点击左侧添加评论！！！</h2>
    <ul class="list-group">
      <Comment v-for="(comment,index) in comments" :comment="comment" :delComment='delComment' :index="index"/>
    </ul>
  </div>
</template>

<script>
import Comment  from "./Comment";
export default {
  name: 'CommentList',
  props:['comments','delComment'],
  components:{
    Comment
  },
  methods:{

  }
}
</script>

<style scoped>

</style>
